<template>
  <div>
    <el-menu
        default-active="user"
        class="el-menu-vertical-demo"
        @open="handleOpen"
        @close="handleClose"
        style="width: 200px;min-height:calc(100vh - 50px);"
        :default-openeds="[1]"
    >
      <el-submenu index="1">
        <template slot="title">
          <i class="el-icon-location"></i>
          <span>系统管理</span>
        </template>
        <el-menu-item index="user">用户管理</el-menu-item>
      </el-submenu>
      <el-menu-item index="data">数据管理</el-menu-item>
    </el-menu>
  </div>
</template>

<script>
export default {
  name: "Asdie",
  methods:{
    //展开侧边栏
    handleOpen(){

    },

    //收起侧边栏
    handleClose(){

    }

  }
}
</script>

<style scoped>

</style>